package authoritah.ui.reports.lottingrights;

import java.awt.BorderLayout;

import javax.swing.JButton;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.JTable;
import javax.swing.JToolBar;

public class LottingRightsView extends JPanel {

	private LottingRightsModel model;
	
	private JTable lottingRightsList;
	private JScrollPane lottingRightsScroll;
	
	public LottingRightsView(LottingRightsModel model) {
		this.model = model;
		
		initComponents();
		layoutComponents();
	}
	
	private void initComponents() {
		lottingRightsList = new JTable(model);
		lottingRightsScroll = new JScrollPane(lottingRightsList);		
	}

	private void layoutComponents() {		
		this.setLayout(new BorderLayout());
		this.add(lottingRightsScroll, BorderLayout.CENTER);
	}
}
